package com.qidian.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.beans.Transient;
import java.util.Date;
import java.io.Serializable;

/**
 * (QdEmp)实体类
 *
 * @author 戴着假发的程序员
 * @since 2022-02-27 14:14:03
 */
public class QdEmp implements Serializable {
    private static final long serialVersionUID = -27708698917889338L;

    private Long empId;

    private String empName;

    private Integer empGender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date empBirth;

    private String empTel;

    private Long depNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date empCreateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date empModifyTime;

    private Long postId;

    private Integer empStatus;
    // 扩展属性
    private String postName;

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }
        
    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
        
    public Integer getEmpGender() {
        return empGender;
    }

    public void setEmpGender(Integer empGender) {
        this.empGender = empGender;
    }
        
    public Date getEmpBirth() {
        return empBirth;
    }

    public void setEmpBirth(Date empBirth) {
        this.empBirth = empBirth;
    }
        
    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }
        
    public Long getDepNo() {
        return depNo;
    }

    public void setDepNo(Long depNo) {
        this.depNo = depNo;
    }
        
    public Date getEmpCreateTime() {
        return empCreateTime;
    }

    public void setEmpCreateTime(Date empCreateTime) {
        this.empCreateTime = empCreateTime;
    }
        
    public Date getEmpModifyTime() {
        return empModifyTime;
    }

    public void setEmpModifyTime(Date empModifyTime) {
        this.empModifyTime = empModifyTime;
    }
        
    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }
        
    public Integer getEmpStatus() {
        return empStatus;
    }

    public void setEmpStatus(Integer empStatus) {
        this.empStatus = empStatus;
    }

    @Override
    public String toString(){
        return "QdEmp {" +
            "empId : " + empId + ", " +
            "empName : " + empName + ", " +
            "empGender : " + empGender + ", " +
            "empBirth : " + empBirth + ", " +
            "empTel : " + empTel + ", " +
            "depNo : " + depNo + ", " +
            "empCreateTime : " + empCreateTime + ", " +
            "empModifyTime : " + empModifyTime + ", " +
            "postId : " + postId + ", " +
            "empStatus : " + empStatus + ", " +
        '}';
    }
}